package controller

import (
	"fmt"
	"net/http"
)

func (p Routes) Cookieget(w http.ResponseWriter, r *http.Request) {
	cookie, _ := r.Cookie("username")
	fmt.Fprint(w, cookie.Value)

}
